using System;
using System.Collections.Generic;
using System.Text;

namespace CommandPatternApp
{
    abstract public class UndoableCmd : BaseCmd
    {
        public UndoableCmd(TextEditor editor, CmdFactory factory)
            : base(editor, factory)
        {
        }

        abstract public string Name { get; }
        abstract public void Undo();
    }
}
